/**
 * Copyright (c) 2003-2017 Ben Lau
 * All rights reserved.
 */
package pool;

import org.apache.commons.pool.PoolableObjectFactory;

/**
 * @author liubin
 *
 */
public class PoolableObjectFactoryDemo implements PoolableObjectFactory<Object> {

	@Override
	public void activateObject(Object arg0) throws Exception {
	}

	@Override
	public void destroyObject(Object arg0) throws Exception {
	}

	@Override
	public Object makeObject() throws Exception {
		
		return null;
		
	}

	@Override
	public void passivateObject(Object arg0) throws Exception {
	}

	@Override
	public boolean validateObject(Object arg0) {
		
		return false;
		
	}

}
